package com.shux.usermanager.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * mybatis工具生产器生成
 * @author Administrator
 *
 */
public class SysUser implements Serializable{
    /**
     * 
     */
    private static final long serialVersionUID = 896263139143423529L;
    private String userId;
    private String username;
    private String password;
    private String name;
    private String rights;
    private Date lastLogin;
    private String ip;
    private String status;
    private String skin;
    private String email;
    private String phone;
    private String roleId;
    private SysRole role;
    

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.USERNAME
     *
     * @return the value of sys_user.USERNAME
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public String getUsername() {
        return username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.USERNAME
     *
     * @param username the value for sys_user.USERNAME
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.PASSWORD
     *
     * @return the value of sys_user.PASSWORD
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.PASSWORD
     *
     * @param password the value for sys_user.PASSWORD
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.NAME
     *
     * @return the value of sys_user.NAME
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.NAME
     *
     * @param name the value for sys_user.NAME
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.RIGHTS
     *
     * @return the value of sys_user.RIGHTS
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public String getRights() {
        return rights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.RIGHTS
     *
     * @param rights the value for sys_user.RIGHTS
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setRights(String rights) {
        this.rights = rights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.LAST_LOGIN
     *
     * @return the value of sys_user.LAST_LOGIN
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public Date getLastLogin() {
        return lastLogin;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.LAST_LOGIN
     *
     * @param lastLogin the value for sys_user.LAST_LOGIN
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }
    

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.STATUS
     *
     * @return the value of sys_user.STATUS
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public String getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.STATUS
     *
     * @param status the value for sys_user.STATUS
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.SKIN
     *
     * @return the value of sys_user.SKIN
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public String getSkin() {
        return skin;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.SKIN
     *
     * @param skin the value for sys_user.SKIN
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setSkin(String skin) {
        this.skin = skin;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.EMAIL
     *
     * @return the value of sys_user.EMAIL
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.EMAIL
     *
     * @param email the value for sys_user.EMAIL
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_user.PHONE
     *
     * @return the value of sys_user.PHONE
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public String getPhone() {
        return phone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_user.PHONE
     *
     * @param phone the value for sys_user.PHONE
     *
     * @mbggenerated Sun May 14 20:02:38 CST 2017
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public SysRole getRole() {
        return role;
    }

    public void setRole(SysRole role) {
        this.role = role;
    }
    
    
}